package top.cptr.ipmitooljavarpc.common;

/**
 * @author Tiger_L
 * @version 1.0
 * @description 公共错误返回
 * @date 2024/9/16 17:10
 */
public class CommonErrorReturn {


    public static boolean check(String re) {
        if (re.contains("Could not open socket") || re.contains("Error")) {
            return false;
        }
        return true;
    }
}
